package com.team6.cet.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include; 
import io.swagger.annotations.ApiModelProperty;
@JsonInclude(Include.NON_NULL)


public class Admin implements Serializable {
	 
	private String name;
 
	private String password;

	private Integer role;

	private Integer id;


    private static final long serialVersionUID = 1L;

    public String getName () {   
    	 return name;
    }

    public void setName (String name) {
    	 this.name= name == null ? null : name.trim();
    }

    public String getPassword () {   
    	 return password;
    }

    public void setPassword (String password) {
    	 this.password= password == null ? null : password.trim();
    }


	public Integer getRole () {   
		  return role;
	}
	
	public void setRole (Integer role) {
		  this.role= role ;
	}

	public Integer getId () {   
		return id;
	}
		
	public void setId (Integer id) {
		this.id= id ;
	}
}